<!--  -->
<template>
  <div class="recommend">
      <div v-for="item in recommends" :key="item.image" class="recommendItem">
          <a :href="item.image">
              <img :src="item.image" alt="">
              <div>{{item.title}}</div>
          </a>
      </div>
  </div>
</template>

<script>
export default {
    props:{
        recommends:{
            type:Array,
            default(){
                return[]
            }
        }
    }
}

</script>
<style scoped>
.recommend{
    display: flex;
    justify-content: space-around;
    border-bottom: 8px solid #eee;
}
.recommendItem{
    margin:10px;
    font-size: 13px;
    text-align: center;
}
.recommendItem img{
    width: 60px;
}
</style>